/*
* PureMVC Logger v1.0
* Copyright (c) 2009 We Are Cloud.
* Author: Yannick Chaze
*
* Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0.
*/

package com.wearecloud.puremvclogger
{
	import com.wearecloud.logs.ApplicationLogger;
	
	/**
	 * The logger class is an internal class to the PureMVC logger that
	 * links the logger with the application
	 * 
	*/
	public class Logger
	{
		/**
		 * Link the message from the PureMVC logger to the
		 * application logger
		 */ 
		public static function log ( message:String ):void
		{
			if(ApplicationLogger.level == ApplicationLogger.ALL)
			ApplicationLogger.puremvcmessage(message);
		}
	}
}